from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base

engine = create_engine('mysql+pymysql://root:123456@118.31.55.201:3306/edu?charset=utf8')
Base = declarative_base()
DbSession = sessionmaker(bind=engine)
session = DbSession()
